/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package service.sales.impl;

import dao.sales.SalesSavingDao;
import java.util.List;
import java.util.Map;
import model.sales.SalesSaving;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import service.sales.SalesSavingService;
import utility.NameValueList;

/**
 *
 * @author jay
 */
@Service("salesSavingService")
@Transactional(readOnly=true)
public class SalesSavingServiceImpl implements SalesSavingService{

    private static final Logger log = Logger.getLogger(SalesSavingServiceImpl.class);
      
    private String mainQuery = "select distinct sales from SalesMst sales "+
            "left join fetch sales.member member "+
            "left join fetch mst.salesPayment salesPayment "+
            "left join fetch mst.salesDetails salesDetails "+
            "left join fetch salesDetails.item item ";
                
    @Autowired private SalesSavingDao dao;
    
    @Override
    public boolean save(SalesSaving data) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean delete(SalesSaving data) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public SalesSaving get(int id) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public List<SalesSaving> getAll(Map<NameValueList, Object> params) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public String printStruk(int id) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
